package com.producteev4j.model.json.user;

import com.producteev4j.model.response.BaseResponse;
import com.producteev4j.model.response.UserWrapper;
import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import org.codehaus.jackson.annotate.JsonProperty;

/**
 * Created by IntelliJ IDEA.
 * User: jcarrey
 * Date: 15/05/11
 * TimeImpl: 20:11
 * To change this template use File | Settings | File Templates.
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class UserWrapperImpl extends BaseResponse implements UserWrapper {

    @JsonProperty("user")
    private UserImpl user;

    public UserImpl getUser() {
        return user;
    }

    public void setUser(UserImpl user) {
        this.user = user;
    }

    @Override
    public String toString() {
        return new StringBuilder("UserWrapperImpl{").append(
                "user=").append(user).append(
                '}').toString();
    }
}
